<div class="container">
    <div class="row">
        <div class="col-md-12">
			<table class="table">
				<tr>
					<td>活动名称</td>
					<td><input type="text"  ng-model="post.name" placeholder=""></td>
					<td>活动热度</td>
					<td>
						<select ng-model="post.hot">
							<option value="1">热门</option>
							<option value="2">普通</option>
						</select>
					</td>
				</tr>
				<tr>
					<td>开奖状态</td>
					<td>
						<select ng-model="post.actstatus">
							<option value="0">未开奖</option>
							<option value="1">已开奖</option>
						</select>
					</td>
					<td>显示状态</td>
					<td>
						<select ng-model="post.status">
							<option value="0">不显示APP</option>
							<option value="1">显示APP</option>
						</select>
					</td>
				</tr>
				<tr>
					<td></td>
					<td></td>
					<td>活动币种</td>
					<td>
						<select ng-model="post.btype">
							<option value="0">BTC</option>
							<option value="1">ETH </option>
							<option value="2">LTC</option>
							<option value="3">DOG</option>
							<option value="4">YBC</option>
						</select>
					</td>
				</tr>
				<tr>
					<td>门票价格</td>
					<td><input type="text"  ng-model="post.price" placeholder="参与活动投入价格"></td>
					<td>是否结束</td>
					<td>
						<select ng-model="post.isend">
							<option value="0">已结束</option>
							<option value="1">未结束</option>
					    </select>
					</td>
				</tr>
				<tr>
					<td>号码位数</td>
					<td><input type="text"  ng-model="post.resultlen" placeholder="开奖位数"></td>
					<td>活动图片</td>
					<td><input type="text"  ng-model="post.img" placeholder=""></td>
				</tr>
				<tr>
					<td>累计奖金</td>
					<td><input type="text" readonly="true" ng-model="post.total" placeholder="不可设置，系统显示"></td>
					<td>手续费</td>
					<td><input type="text"  ng-model="post.fee" placeholder="默认0.4"></td>
				</tr>
				<tr>
					<td colspan="4">
						<p>活动类型为1，指定为人数达到要求即为活动满足条件【无需填写活动时间】</p>
						<p>活动类型为2，指定为开始，结束时间达到要求即为活动满足条件【无需填写活动人数】</p>
						<p>活动类型为3，为奖金堆积奖励</p>
					</td>
				</tr>
				<tr>
					<td>活动类型</td>
					<td>
						<select ng-model="post.type">
							<option value="1">人数活动</option>
							<option value="2">时间活动</option>
							<option value="3">奖池活动</option>
							<option value="4">私募活动</option>
					    </select>
					</td>
					<td>活动人数</td>
					<td><input type="text"  ng-model="post.member" placeholder="设定达标人数"></td>
				</tr>
				<tr>
					<td>开始时间</td>
					<td><input type="text"  ng-model="post.start" placeholder="设定活动开始时间YYYYMMDDhhmm"></td>
					<td>结束时间</td>
					<td><input type="text"  ng-model="post.end" placeholder="设定活动结束时间YYYYMMDDhhmm"></td>
				</tr>
				<tr>
					<td>开奖条件</td>
					<td colspan="3">
						<code>
						<textarea ng-model="post.ok"  cols="100" rows="4"
						 placeholder="默认输入[]"></textarea>
						</code>
					</td>
				</tr>
				<tr>
					<td>活动条件</td>
					<td colspan="3">
						<code>
						<textarea ng-model="post.condition"  cols="100" rows="4"
						 placeholder="默认输入[]"></textarea>
						</code>
					</td>
				</tr>
				<tr>
					<td>开奖说明</td>
					<td colspan="3">
						<code>
						<textarea ng-model="post.remark"  cols="100" rows="4"
						 placeholder="请输入开奖说明"></textarea>
						</code>
					</td>
				</tr>
				<tr>
					<td>活动更新日志</td>
					<td colspan="3">
						<textarea ng-model="post.postlog"  cols="100" rows="4"
						 placeholder="非常重要，每次更新东西都有记录（时间+内容）"></textarea>
					</td>
				</tr>
				<tr>
					<td>活动描述</td>
					<td colspan="3">
						<textarea ng-model="post.content"  cols="100" rows="20"
						 placeholder="html代码段"></textarea>
					</td>
				</tr>
			</table>		

			<p style="text-align: center;">
				<button class="btn btn-primary"
				ng-click="addPost()">新增活动</button>
			</p>
            <br><br><br>
        </div>
    </div>

    <div class="row">
    	<div class="col-md-12">
    		<div  ng-bind-html="post.content | trustHtml"></div>
    	</div>
    </div>
   
</div>